API Documentation
MAIN PAGE
NAMESPACES
CLASSES
Documentation
Headers
NilkinsGraphics
Configs
WindowDescriptor.h
1
// WindowDescriptor.h
3
//
5
6
namespace
nkGraphics
7
{
11
enum class
WINDOW_PROPS
12
{
13
WIDTH
= 0,
14
HEIGHT
,
15
FULLSCREEN
16
} ;
17
}
18
19
namespace
nkGraphics
20
{
26
class
DLL_GRAPHICS_EXPORT
WindowDescriptor
27
{
28
public :
29
33
WindowDescriptor
() ;
37
~WindowDescriptor
() ;
38
39
// Getter
44
int
getValue
(
WINDOW_PROPS
prop)
const
;
45
46
// Setter
53
void
setValue
(
WINDOW_PROPS
prop,
int
value) ;
54
55
// Print
59
const
char
*
getAsString
() ;
60
} ;
61
}
nkGraphics::WindowDescriptor
Holds information about a window configuration.
Definition:
WindowDescriptor.h:27
nkGraphics::WINDOW_PROPS::WIDTH
@ WIDTH
Property describing width.
nkGraphics::WindowDescriptor::getAsString
const char * getAsString()
nkGraphics::WindowDescriptor::WindowDescriptor
WindowDescriptor()
nkGraphics::WINDOW_PROPS
WINDOW_PROPS
Enum of all properties a window can have.
Definition:
WindowDescriptor.h:12
nkGraphics::WindowDescriptor::setValue
void setValue(WINDOW_PROPS prop, int value)
nkGraphics::WindowDescriptor::~WindowDescriptor
~WindowDescriptor()
nkGraphics::WindowDescriptor::getValue
int getValue(WINDOW_PROPS prop) const
nkGraphics
Encompasses all API of component NilkinsGraphics.
Definition:
BoundingBox.h:7
nkGraphics::WINDOW_PROPS::HEIGHT
@ HEIGHT
Property describing height.
nkGraphics::WINDOW_PROPS::FULLSCREEN
@ FULLSCREEN
Property describing if it should be fullscreen.
Generated by
Doxygen
1.8.18